package day04;

import java.util.Scanner;

public class Test01 {
    public static void main(String[] args) {
        // 判断一个成绩分数，的等级
        // 90 以上 优秀；80-90 良好；60-80 合格；60以下不及格
        Scanner sc = new Scanner(System.in);
        int score = sc.nextInt();
        //int score=90;
        if (score < 0 || score > 100)
            System.out.println("成绩不合法");
         else
            if (score >= 90)
                System.out.println("优秀");
             else if (score >= 80)
                System.out.println("良好");
             else if (score >= 60)
                System.out.println("合格");
             else
                System.out.println("不及格");

        // 判断是不是闰年
       // System.out.println("请输入年份");
     //   int year = sc.nextInt();
        int year=2023;
        /*if (year%400==0) {
            System.out.println(year+"是闰年");
        }else if (year%4==0 && year%100!=0) {
            System.out.println(year+"是闰年");
        }else {
            System.out.println(year+"不是闰年");
        }*/
        if ((year%400==0) || (year%4==0 && year%100!=0)) {
            System.out.println(year+"是闰年");
        }else {
            System.out.println(year+"不是闰年");
        }






    }
}
